# 定义人的属性和行为
class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def speak(self):
        return '说话'
# 定义猪的属性和方法
class Pig:
    def __init__(self, kind):
        self.kind = kind

    def call(self):
        return '猪叫'
# 定义佩奇 继承人和猪
class Larrpge(Person, Pig):
    pass

lp = Larrpge('佩奇', 5)
print(lp.name)
print(lp.age)
print(lp.speak())
print(lp.call())